changed to use the username, nickname and their lengths of the thread
each thread now has its own buffer space ... does not work correctly output overlap?