Fixes #121 - New window does not inherit profile