Added "use strict" where possible; removed some unused functions and other small jshint items.
Fixed typo
Added comments to imgCursor; moved resize to the controller; removed the dependency on currLine
Put all typewright variables in the window.TW namespace; fixed some jsHint messages.
Put all typewright variables in the window.TW namespace; added some comments for documentation.
Fix problem where an object can be improperly cached.