Separates concerns at demo

 * setPosition now does all display work and only "registerUndoAction" regarding undo/redo functionality
 * onundo/onredo are for information only
 * updateButtons is done at onchange (obsolete at setPosition)
Merge pull request #1 from koppor/separation

Separates concerns at demo