Made the pattern editor dockable.