Fixed some database resource leaks; Work in progress for adding mibewmob settings to the regular settings