minor photo flag issue - and some more whitespace edits