Require dbname and user, fix sequences, updates schema a bit, other minor updates.