Delinted.
Clean up work and delinting, mostly directed at the HexMap implementation.