added recording, playing and creating video out of saved keyframes