cache corners & reset if needed
Merge branch 'master' of github.com:marcn/chesshack