Added support for auto-off LCD.  Also added function to get text input.