Fixed bug where client got misalligned package due to looping around in
ring buffer. Also Moved the Packet handling to seperate files on a
seperate thread. This way I can actually process the receiving buffers and
then add the last one to the screen.