Made the settings only get loaded once and fixed a bug when the project settings are empty.