Added filter wrapping and on-demand filtering for FilterTreeTable and
fixed a bunch of issues