added backward compatibility to old wizViewMessage system, added window.name for postmessage origin param
updated CLI source