Making ctrl-c work and allowing increments to be configurable