added the MIT license. minor code changes.
added keyboard mode switching via a horizontal swipe gesture in Safari for iOS; other minor name changes.