Bug fixes to new functions, and an error if an http problem shows up