callbacks sanity check the window id, comment out unused items