add support for variable undo
Merge branch 'master' of https://github.com/silverdev/hex-net