Frontend tweaks: fixed issue where flash ends before the photo is taken. Now the screen remains white until the image is ready to display. Refactored some state variables out of the view.
Merge pull request #26 from porkbuns/frontend-fixes

Frontend tweaks: fixed issue where flash ends before the photo is taken....