add py template for editing meshes in editmode. also remove double call to CTX_wm_region which does a string lookup.