Rename undoManager.add to undoManager.register

The longer this pull request sits open the more I kept thinking I
should change this before I lose my opportunity.