parsemessage moved back to griddemo
start at line 344