Added recording and playback to GUI.