rename callback arg to localizeCartoURIs to avoid confusion with main callback for resolve
rename remaining to remain to avoid mental clash with other high level variable in millstone.resolve
fix #92 by ensuring in somehow the remaining counter goes negative we still return from the loop