introduce state_manager_type to keep applesauce window minimized / active as desired