Cleaned up some issues with distance filters, added code to check distance filter before calling delegate and fixed a number of issues with the main thread getting blocked on callbacks