Use window size to avoid layout thrashing
Simplify main.js
Speed up viewfinder fade in time
Added logging
Update alameda.js