attached is a patch that adds a "-kiosk" flag to pd.
if the flag is present, pd's functionality is somewhat
limited: the main window is invisible, the patches have
no menus and the shortkeys are disabled.
this is nice, if you don't want people to fuddle with
your patch or scare them off (e.g. public
installations, where people see (and probably can
modify parameters of) the patch; or applications for
people who have no idea what pd is and what the
main-window is for and thus might want to close it)