extract window performance tweaked