Can now specify to System.exit() when quitting