Improved message sending in framework.
Better formatted logging