This implements the non-inline version of the Software Keyboard (swkbd) applet, which games use to get text input from the user.