added menu items for clearing (truncating) history and for emailing history as a csv file