Small correction in dynamic ribbon to avoid some weird behaviour in the GP editor
Minor corrections (a couple of warnings, unused headers...)
Merge pull request #1561 from marcoll/master

Some minor corrections