issue #3 and #9 a little bit
clear bug in graphic with GL_TRIANGLE_FAN
issue #4 done!
issue #10 done
have done some refactoring