Split off the drawing functions into their own file. Rerouted the color helper include through that file instead of directly to the viewer. Height and heat are now correctly hooked up.