OPM - refactoring filters and fixes in printing

This looks like a copy of original `drilldown_options` file. Is there no way to do this without duplicating this code?