Output window now almost working as expected

Output window now scrolls with new data.

Wrote a quick thread that prints 4000 ints to output.

Will soon add carrot return after print, classes will also be put in
files.