Update TextDriver.java

Minor edits.