move row filter code into class, to try to track down dwt crash