Partial implementation of dragging word as part of issue #26.