begin on user interface, set proc title and load configurations

Signed-off-by: Mattias Andrée <maandree@operamail.com>
do some update reading from the server

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add threading condition with `with` support

Signed-off-by: Mattias Andrée <maandree@operamail.com>
put the actual rutine in its own function

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add functions for sending signals to the server

Signed-off-by: Mattias Andrée <maandree@operamail.com>