Fixed implementation of priority queuing for router, modified comments for sender