remove sys.exit(0) from application.quit_app()
* this makes CLI return properly when calling quit