moved event handling where it belongs for displaying the welcome screen
improved error logging mechanism in the controller
corrected some subtle design flaws in event handling