Improvements in functionalities

Added more printable data, changed output to CSV format so it can be imported in Excel easily, made the program exit when clicking on the X