Add ClearSystrayMenuItems() to remove existing items

For darwin, add native stopApplication() and call from tray.Stop()

For darwin, add new menu items immediately if the menu has been created

For windows, post a WM_QUIT from tray.Stop() to break out of the event loop

Clean up some debug code and add a few comments