housecleaning last.js
break apart mesh to pull out edge specific methods
push event handler definitions outside bindHandlers
clean up a little in processing/main