Limit undo stack to 100. #103.