API call stats

Adding in a tiny indicator for API calls per second; some basic
comments & code cleanup