Fixed erasing and added shifting

Shifting undo/reset does not work atm