Added Gui3DButton and Gio3DObject. Made various changes to support them.