Commented out unnecessary code
Code would not always pause between queries, fixed
Added a catch for 403's, signifying a bad API key