Moved mousestate declaration
Code cleanup
Subscribed to ScreenResolutionChanged event