move ParseViewMode back into ParseCommandLine.cpp
make FileHistory::Purge actually remove missing files (and fix memory leak)
don't allocate DisplayState on stack anymore (fixes issue 2262)
tweak SettingsUtil.cpp