Updated Map AI
added basic framebuffer rotation