Fixed color map, Increased rendering speed

Fixed the bugged color map, greatly increased rendering speed by drawing
directly to the image data rather than using fillRect. Also changed the
formatting to spaced vs tabbed.