Reapply filter to selection whenever the filter is changed.
Retrieve graph headings from meta data.
Drop unused $rheadings.
Add xlabel on all graph types.
Drop useless mkdir.
Autoconfigure output directory.