Fix for #292

If the window is hidden (tech not unlocked) it now skips it's usual calls to do anything

#292