seven-segment: code cleanup & const adjustment
Merge branch 'master' into gh-pages