Discover mystery of missing R file -- XML error. Rename xml file, rewrite the add_text page to conform to best practice (as far as I'm aware). Fix multitude of bugs. Working state. Connceting to server, but must be on the same WIFI as server.