Fixed a major bug in players system.
Finished move undo implementation. Adresses #35.