Added more reference code to look at for VideoWriter stuff
user interface state stuff sucks