Some minor cleaning up [ci skip].
Some work towards adding support for digit grouping in our Viewer widget (#304).