WORDS-427 - add error support to ExcelBuilder, some refactoring