Don't prioritise DOWNs from the left. Also explain why we prioritise in various ways.
optimise
Merge bug26210
Silence warning
Small refactor
Rebranch bug 25550 from stable