A fix to translator code for component set-get and some commenting.

Change-Id: Ie893ba363475e2823bc71e2111235b8f86313b9e
Fixed 'narrow canvas' issue so that width and height set correctly and fixed comment typo
and fixed a fairly obscure issue with generic set-get in translator

Change-Id: I73c6cf7dd03a5362e058f3a9b1013179e6b763ba
Firefox will no longer miss first character for typeblocking.

Change-Id: I10f71843a6687c187bf8eeb049292fa9b3fa2358