removed 'dispatch_get_current_queue' calls because they are deprecated (closes #2)