Fixed error handling in MainSheet.value(), added method MainSheet.getEditorText()