Cleaned up main(). Redirecting printf to UART0