Fixed the opening and saving a project.

Some mistakes stayed in opening and saving. Now they're gone.