Fix inactive overlay. Move menu and bars to separate files.