Working Sprite Map Generation

Still needs XML export implemented..