Made last of know db connection bug repairs and header response issues.