added window to console calls