Systemexit

This closes issue #2 by adding the capability to quit from the console