fixed bug with crashing client-master
added plot cpu-usage, some bugs left