There's loads of issues with this code-base, but because it works up to function calls it allows me to see the big picture.
At this point I will probably turn my attention to sort out all the crappy code I've written to get to this stage.
Values, for example, are pretty erm, dodgy.