more work on program settings:
fix edit and crate a view details report