getting stream from console and showing it on panel/window. for debug purposes. using class from http://stackoverflow.com/questions/342990/create-java-console-inside-the-panel/343007#343007