Fixed some bugs in interface-client, added result-start, result-end
markers to messages in localStorage