Removes some debugging garbage, fixes bug where New Set was not updating database