Some error checking replaced with assertions.
Refactored UART rate setup, removed GpioGetKey.
Refactored UART baud rate calculation functions.
Fixed timer overflow value setup.