Hammered out the leaks and kinks

Note: The flow isn't great with xboard so we need to get that running
then it's 100% algorithm and eval.