Various fixes to the new region editor.