Added user interface and server functions for the following features:
'Save & reset history data'
'Save history data'
'Send history data by e-mail'
'Export history data as text'
'Send history data (text) by e-mail'