Added level info to tree nodes. Added clearing option to gui.