Add optional comment to keyboard debugging routine
Move mod-testing to main widget, move lineedit cursor kludge to clear method