tests: force main window to be active
wip
wip2