Add click to select entity (closes #23)

* Refactor ui handleing of agent messgaes
* Add titles to buttons