Video: emulator handling in tail.
Minor refactoring.