added printTileString
just grouping like events
added grig.textinput event, and also an automatically managed grig.typedtext if you don't want to handle backspace and string management yourself. Fixes #7.