BUG:368764 Manage the display filters with shared pointers
The ownership management by the lut docker using a bool to
indicate that a display filter was our display filter was
broken and caused memory leaks. Fixing the memory leak caused
crashes.
Now all display filters are wrapped in a QSharedPointer, which
uglifies the code but fixes the issue.