added more comments/documentation to SpreadsheetView. Also fixed bug