Fixed machine settings and better viewfinder

Machine settings (camera resolution etc.) now update from a a server
correctly (had to rearrange the camera start up code so that new
settings would load from memory whenever the camera stops/starts).
Also changed the viewfinder to more closely match the area of the
camera feed that is being thresholded (something that was mentioned at
the summit).