added unit testing project again
many changes
fixed video flicker bug
camera cleanup
merge from master
small changes to window
fixed crashes when loaded with too big videos
preview templates