Added a counter to keep the location lookups in check.  It makes sure that if you can't get a good fix it'll stop checking.