Fixes warnings regarding unhandled events.

The adding of the Windows tray notification enabled this event on
Windows. Since the event is not needed, nor handled on Windows for
GUI2 it caused a warning.

Untested, since I've no access to Windows, anonymissimus please test.