Implemented various new features + fixes.

Various core features + an update the insures thread safety between the
game processing + networking.

This works by queuing the execution of packets to be processed in the
game loop.