callbacks sanity check the window id, set the output name