egl: remove cairo dependency draw contents with openGl

still 241 blocks not freed
add rectangle class and use it to save window size
add fps count in bottom left corner

this adds ftgl as a dependency
use exceptions instead of fprintf to stderr
move fps count to top left corner and use textures
save pointer position in input
use pointer position to move triangle