Fixed bug where logoff doesn't close all frames (if frames are open). instead of just disposing the controller frame, System.exit(1) destroys the application.