Refactored ignored windows pre-processing
Added option to configure which window types are shown