add includes
remove warnings
fix current position after arc
add glext.h