Added stub function for the constantly updating undo function that will log any changes in the main edit window and read them into an array, then set the counter index up one, to the current position, also makiing it so you can undo the redo.
..
started updated array for undo and redo functions
finished undo function to take input from the window.