Moved all blitting code into the glue code!