Fix a cosmetic and usability issues reported by plt and Altere (ATHEL)
Combined with a fix in uifc32.c, this fixes some problems with spawning external programs (e.g. to edit files, run scfg, echocfg, etc.) and when returning having a different keyboard input functionality and the screen all fubarred. Tested with Linux/ncurses.