Check if we have a systray to use.

This fixes a failure when we run the first run wizard and don't have a
systray ready.