Add filtering to the data manager.
I thought it would be more difficult, but it turns out that Qt is really great and it was actually quite easy.
There is however a potential for crashes. I think I handled everything but a thorough code review and some testing would be
really appreaciated!