code reformatting
add hacky glDrawArrays
more formatting
fix double free() in glx
fix syntax error in refactoring
more reformatting
more cleanup
remove unused platforms