More cleanup in the dev launch and adding some database sanity checking.