added revert macro, undo, redo  buttons; variable component panel...