Fix small bugs caused by recent changes

Usage:
    qserver -pos 0 -local
    qserver -pos 1 -local
    qserver -pos 2 -local
    qworker -servers "127.0.0.1:1337 127.0.0.1:1338 127.0.0.1:1339"