Fix most problems with drag&drop on API levels < 14.
Also contains fix for #254