Better default Db URL.
Fixed bad _id casting.

Added a TODO for a later performance pass.