modified main popup
restarted scenegraph update and fixed some bugs