loadProject did mostly the same as openProject. So it can be removed. (Also the error handling was wrong too.)