Performance improvement with map caching

The updateDisplay function now cache's its result so that drawing the
world is somewhat faster. Still making changes to this.