activate new window, fixes #47