Fix for hex gmthrid.
Merge pull request #1 from PatrickMcGuinness/master

hex fix for messagesrelated