- fixed bug that left last frame unprocessed
- simpler code #8