Revert "support for hiding in tray"

This reverts commit 1d31244273b66e9df7229e642146ad298ea5ace6.