fixed some bugs concerning the GUI when a file is closed
Authored by: mikebeblack 2011-03-17
Parent: [r101]
Child: [r103]