[Graphics Viewer] Modified GLUT main

Modified GLUT main
- Add Event