Added kgs genmove cleanup as a command, and implemented it.