Improved the logger so text can be easily drawn to the screen