* Added some error log calls
* Added some action hooks to allow dev to change blog in multi site installs before core db calls