additional tweaks

mostly as a consequence of keyboard shortcuts, functions had to be
stopped from executing when not visible