separate maps for memory and cpu. use of cStringIO for better performance with string concatenations. change in colormaps.