several improvements around the project file watching functionality.

- fixed error message when enabling the project file watcher on a built-in project.
- the state of the file watching toggle is now saved to the settings.
- reordered methods in renderer::MainWindow.
small code tweaks and cleanups.