iFrame-template and improved message output