Few changes for fully Undo-Redo functionality (and debug)
Little cleanup and modifications to PrimeSkin