gui - fix a couple of bug related to importing projects into the gui, clean up some tests, remove some unused files, etc.