Rework priorities and upgrade split logic.
Rework priorities and upgrade split logic.

khorben/pkg,junovitch/pkg,junovitch/pkg,khorben/pkg,Open343/pkg,en90/pkg,khorben/pkg,skoef/pkg,en90/pkg,Open343/pkg,skoef/pkg