Some updates on the Logging. Adding in a Database Error Logging functions so we can track Database Errors on startup and during run time. Not fully scripted in yet.

Some other ups to the core as well.

(9 New warnings that need to be looked at in the network areas of the core)