Enhancement: Added debugging facility for thread based issues
Fix: Fixed an threading issue in "dNG.pas.database.Instance" related to
serialized database connections and SQLAlchemy