changed comments and redundant methods for write-to-server only. runOnUiThread is mainly of use for read-from-server