preparing to show/hide overlay. moving shit to more state-machine-like thing