Added Undo Functionality

Added Undo. Iteration commands (Next, Previous, and SwapMode) can now be undone in order
	with the Undo button on the StudyFrame.