Fixed UI to work with the json-based protocol
Merge pull request #2 from dym/master

Fixed UI to work with the json-based protocol