Updated Gui, and TreeModel to be 2.0 api compatible.