undo/redo changes

Changes for undo/redo provision in construction mode.

Controls:
Keyboard R - Redo
Keyboard U - Undo