added timestamp functionality to GUI