Correct rounding errors and little bugs in time line parameter

This corrects bug 1811 in redmine, plus the nan time indication when you used to see when dropping a 4d image in a new view.