Enhanced the java prompt, started the backend before doing the actual buffering of the text. Also improved some code.