Merge pull request #103 from drzippie/dc1

DebugLog to Main Runtime Object
Merge pull request #104 from drzippie/dc1

QueryManager and Messages to Dependency Injection
Fixed minor errors in xmleditor2 and preview action