Did a fair bit of code clean-up, inputing FEN strings it still buggy.