Small changes and fixes. Started work on util for writing results in
excel sheet.