init for panda3d-gui