threading, network initialization, serialization, and fixes #1