fixed a deadlock when sending chat msgs via route, it was aquiring settings_lock needlessly. Also, started the concept of priority output queues in the client thread. I could use built in priority queues, but I may need the ability to check the q size/fullness of each priority individually, so I'm sticking with this method for now