Updating ReadDir documentation
Ensure that ReadDatabase returns instead of printing errors
Removing all print statements from code

Any statements that printed errors now return errors. This makes the
behavior in general more strict, but more predictable. The errors
should not happen in practice anyway.