cleaned up some stuff, added time check to scale max change appropriately

put in appropriate value for max change based on math

however, we must TEST this value, and make sure to tune it, before changing
any other conditions or parameters.  It is almost guaranteed not to work the first time, but that's ok, because we can survive a little bit of work