add missing .gitignore files
add missing references (on Win32)
fix null object access

TODO:
problem of null instance of XML startup config still exists
Merge pull request #1 from MinnieTheMoocher/master

Adjust gitignore, references, ...