fix paths and event handlers. No more fatal errors now, but need to revisit all the logic to work with CM3's new DOM
remove touch scrolling foor now -- it seems to cause a number of glitches in CM3
keyboard works fine. Selection is starting to work, but has errors dealing with the magnifiedCM coordinates