If end is greater than start, the program is not active anymore and hence the difference should be 0.
If end is greater than start, the program is not active anymore and hence the difference should be 0.

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son