Handle api errors more gracefully
Prepare for 0.8.2 release