Mesh issues with details/openings in geometry

I think I figured out how to make the refinements work correctly.