Make it possible the return approximate number of items in work queue
Add properties for getting thread count and approximate work queue size
Code cleanup

Mainly removes dead code connected with the old tile downloading logic
and related comments. Also tidies the code a bit.