Fix memory leak in opening book
Update move history when trying hash move
Support for 'memory' command to set size of hash tables