Fix for issue #585. Can you believe it was all due to a json_encode without true to i think escape the values? Crazy.
More fix for groups and compiler hook fix.
Small fix where the thumbnail url wasn’t being nuked on remove.
Merge remote-tracking branch 'upstream/master'

git merge upstream/master