better priority handling, mogi.Dump() to dump all stubs
handy for debugging