cleaning up primary window.create params