Network modules, send/receive messages

Used Network modules - can use application with or without server. Send
and receive messages to/from server - bucketfill and clear not working
properly when connected to server. May also be a problem with repaint