client + server integration, bugfixes, client terminal input, imperfect but working synchronization