draw frame, minimize window to tray and restore