Got the karma threshold working correctly and handle HTTP errors differently now.