About to refactor using decomposition.
Tweaks.
More tweaks.
Clean up in aisle 5.
Cleaning up some comments.
About to change stuff.
Simplified by changing a spurious resolution range to fall on 5-bit boundaries.