try to fix a bunch of launch bugs -- postgres sync and bad queries and bad links