added x3dom.toggleFullScreen function and did more clean-ups