Fixed latest_version so that it fails-over to download directory contents; article revisions; logging for websockets.