Implementation of Spritemaps + other tweaks