simplified map_sprite code using a TableEntry
refactor of MiscTextModule