Implemented a small work around for no current window being set while executing the event handler
Fixed bug where if statement didn't have parenthesis, causing it to just exit
Added full support for WindowStatus
App status is now based on actual app status instead of window visibility