imnum should update when basename is changed. currently not happening until next observation starts
imnum should update when basename is changed. currently not happening until next observation starts