Removed redundant this.element existency checks, and cleaned up undoRedo method a little bit.
Removed redundant this.element existency checks, and cleaned up undoRedo method a little bit.

lohfu/spytext,thecodebureau/spytext