Fix undo of captured pieces
Improve ability to switch selected piece