Added ability to export all stats as a CSV

The user designates the path, and an auto-named file is generated. A
button will need to be made for the functionality.