Backed out of DB_EXCL option.
Fixes for minor bugs.