Modified a typing error
Forced definitions of underline keyboard shortcuts
Created functions for low-level serial management