Fixed issue (anirudh) with negative ontime being reported if final state was OFF when finish was called.
Merge branch 'expt' with master (fix to newremy.tcl)