CUBEGRID: Update: Undo button and partial gamepad controls

Added undo button and partial gamepad controls.