Loops-to-move tweaks (credit to Nelson), & dbg monitor