Try and prevent apps from creating bugs

 - Don't allow division by zero errors
 - Add a reset_value top level function
 - Don't allow incrementing beyond the number of steps