Write queue after connect windows

this one is addressed, you commented on the wrong line so this doesn't get removed