Moved BlockRenderer instance to MapIO. Various cleanup.