Disable game menu during sorting.

Changing game mid-sort breaks various things, so disallow it. Fixes
#361.