gui revamped, added signals for connection loss, ...