Work on graphics bindings, rename some functions