qtclient: fixed some compilation bugs, started to add window switch in
network data loader