Add log and keymap
Add render
Update test
Add rec/pause
Add test and play with thread