added ability to send emails. Added email to notes log. Changed how problem reports were initialized. Changed how histories expanded and colapsed