Removed unneeded variables
Longer wait for immediate picture update
Slightly improved delay of camera - I think I know the problem