Fixed Bugs

 - Fixed Window not Flashing when receiving message (Dunno)
 - Fixed NullException at 'p as MainPage'