Fixed jshint issues. See #238
Factor out PipeHandlesNode into PipeMainDragHandle and PipeHandle. See #236, #237
Removed dead code.