Add some more comments to spreadsheet.pl
Some initial untested work on writing out xls spreadsheets.