Priority queue based message system.