Thanks for the bug report. I installed into the master branch the attached patch, which I hope prevents similar problems in the future. I didn't implement a move-counter; perhaps someone else can volunteer to do that, if they have the time.