Adding a Filter Parameter to set the crystal structure for the filter. Adding in progress feedback. Adding in a cancel check within the 'while' loop to allow for canceling of the infinite loop.