misc stupid debugging

Undo mostly works now, leaving it until I add in more relevant features