Added changed to the timestamp. Added an undo feature. Cleaned some code.