implemented saving projects, again...

This time with better UI code.