added nlsop_gui.c (not finished yet) + fixes to server and client code