properties again (after accidental code loss due to unfamiliarity with git: git makes complicated things possible but the easy things are not simple enough.)
more document properties and renaming of layer properties
add new files for Properites dialog (non functional dummy dialog)
minor style fixes.

Ran StyleCop against the project, resulting in over 10000 warnings. Made some small style fixes to the files I am changing anyway: avoid tabs use spaces instead, be slightly stricter about formatting of braces.
merge branch
properties dialog mockup with text entries. backend still needed.
(bringing me back to where I was a few weekends ago before I accidentally deleted my work by misunderstanding git)