uart: Modifications made to several functions to improve operation.  Added handlers for echoing a response.