Extracted PromoteToLet to function
Close certain windows with q