Code cleanup, round 1

Moved the new display functions into the shift register "class".
Utilize a 5 sample average - may reduce flicker.
Moved some pin assignments into pindefs.h
Cleaned up comments, attributed source.