pause when window not focussed, some test object tweaks