metomi/rose#21: bugfix section metadata and implement proper focusing after undos