integrated drag into main project
enhanced the debug logger, integrated the drag stuff more, still not completely right, need to refactor into callbacks