Simpler console reader and adapt the Client to the new Qt5 API and adapt the Client to the new Qt5 API.