Added draw_sprite and fixed some things.