Incremental update for touch support

Added hooks for touch support. Not wholly working as intended on the
canvas side yet.
Framework updates