Improve the Project / New button

Will now prompt to save if the project is not saved. Also will ask for a
filename if the project does not have a filename yet.