Fixed an issue with opening new windows. Added more setting options

Opening new windows will now longer open the previous project.

Settings can now be forced to be set. This is pretty much only useful if
you are trying to set them to undefined.