preview handling rework

Just take a look - I have commented all my changes with TODO
I have tried to fix the preview size handling for photo and video mode
changing picture size also requires a preview restart. 
There are still a few open issues e.g. the preview is streched in 16:9 resolutions
and I dont really understand how that works :)