halfway through unit testing and refactoring; everything be broke
more unit testing and still all broken
Found a lot of bugs in the unit tests, fixed them, which uncovered lotsa errors in the actual code, fixed those.