resolves #118, #123, #126; refactor drag selection; add parameter dragSelection; make loopSelection enabled by default