removed extraneous stuff, improved error handling for battlelog queries