Typo.
Fixed db race conditions.
Removed incorrect terminal message.