Hide debug output in release mode
Rewritten NetworkManager