added gfilter, apply_to_panel