removed deprecated call to UI.  Added graceful keyboard exception handling