API limits now get updated correctly. Issue #21.