simon_brooke, I've just pushed a git commit with the comment:
" Massive code clean-up, all tests still pass.
...but I'm still struggling to understand how it works and how I use it. Memo to self: document your code better."
https://github.com/simon-brooke/walkmap/commit/cb5041e684ebecf000926d81871b864cc70bfb05