Add actual api doc stubs
Properly check for gl support; integrate code into sprite