only call quit on event loop through close event on window
Merge branch 'development' of github.com:smistad/FAST into development