Added some magic cookie stuff to the message overlay so that message validation will be easier in the engine.