depend on opengl
change version number
revise todo
remove obsolete code, some renaming