Now writes out XLS files using xlwt. Bit clunky, main function really needs separating
Separated out some functionality from main function
Renamed output filename from xlsx to xls. Renamed xlsx icon.