Moved management of the system tray menu into its own class