Overlay drains FPS even though "hidden"

These changes will make it so the overlay window is properly hidden if requested.