open new window if needed
Merge pull request #20 from bastianhoyer/NewWindow

open new window if needed