Added debug menu. Fixed error: no profile sent to Camera from Camera button on login screen.
Added keyword var where missing.