removing console.logs, updated undo

after making a new step after an undo, the redo queue will be cleared`