Successfully exported lines

into the three.js editor.  refactored some stuff.  Working on issues #2,
#6, #7.