A few memory leaks were plugged
Abort if database can't be opened
Pointing to my MPICH
Merged from master