Check WINDOWP before using XWINDOW. Consolidate return statements.
Attach a file by drag & drop or click to upload