Fixed cache, added z and sprite.
Fixed cache converting.
Added sprite for handling bitmap.
Added z for ordering blit.