Make host optional for Postgres connections.
Tweak consistency of deleteds.
Sort records on batch inserts.
Tweak comment spacing.