Merge pull request #22 from adam-vessey/7.x

Add group declarations.
Stop dragging when clicking inside the metadata...

... Clicking on the header bar should still let the overlay be dragged
around.