Refactored drag 'n' drop code.
Fixed global priority change UI update.

It was updating the wrong UI element.
Removed Shadow DOM from <plugin-li>.

Closes #267.