Bugfix for issue #305 Crash when creating a new file(right click menu)...

...without open project.

Added bindings to enable context menu items if projectSettings is not nil.