Improved and cleaned up console output.