Whiespace cleanup + correctly decrease wait time in send and send_now
Use a Queue for priqueue instead of a pure list
Queue commands to send and use a separate thread to process them