change imin to a templated min function
constify animation/timing state in the main loop
code style and naming changes
run the AI search code into a background thread

Also when autoplay is turned on, this overlaps searching for the next move
with animation of the last computed move.
update the todo list in the readme