Allows creation of projects

Does not gracefully handle refresh - some GUI elements are overwritten
Fixes a few bugs in the project tree

The current subproject variable was being overwritten so added the level
to avoid it. Also added type conversion to level checks on expansion to
ensure proper comparisons.