General cleanup of code.

Remove dead code, change Log output scope to debug, remove camera start/stop preview since that doesn't seem to have an affect on flash.