reporting fix and email support

fixed a lot of reporting problems. %ages still have some issues. emailing capacity also set up, to be fleshed out later.