- Fix string terminate bug.
- Fix multi allocation bug.
Add EGL terminate code.
Add GL(For GLUT) terminate code.
Add OnTerminate, OnDestroy.
Modify terminate operation.