Fixed problems with block uploading and server connections.