Rename PostMessage to PublishMessage due to windows incompat. Get cogging working on windows.