Bug fixes to project editing. Resolves #77.