Map display optimization

Created a string buffer to hold all the map data and print it once per
update frame instead of up to 7k printf() calls in a single frame.