Helper to dock any application into the system tray
