undo/redo functions are now directly bound to change-events of GUI elements
added scoped locks for JSON string on client side, set threads to background and added using-statement for client socket on server side