Optionalframelesstrue removes the frame, false restores it.
OptionalwindowTarget window: main or a popup id; omitted or empty, the calling window. There is no fallback to the main window: a caller that is not one of the plugin's windows fails with NOT_FOUND, and a DUI/CUI panel with PANEL_MODE_UNSUPPORTED.
Parameters for
window.setFrameless. Remove or restore the native frame and caption of a window. Fails in panel mode.