updated synchroniser to use priorty queue
Merge pull request #2 from mikedewar/master

priority queue ftw