Enhanced error reporting, batch command line option, traps ~ in CoreNLP input, documentation updates, three error cases added to unit tests