Rename 'step block' area to more appropriate 'histogram'.
Move declaration of highly reused variables into main object
Clear the background each frame
Rename drawSteps to updateLoop (more appropriate) and change the redraw rate to 50ms