drawing Client UI, stage IV

* fixed bug with message order in limited chat history