Selecting Advanced|No Border from the window operations menu will remove the caption bar from a window. In theory you can set a preference through Special Window Settings / Special Application Settings to do this automatically, but it doesn't always work: e.g., LibreOffice windows respond to the window operations menu, but setting SWS and SAS preferences does nothing. I wonder why?