Retrieving tool messages with GetMessages()