Patch online for connection troubles.

Ello!

Fixed a couple of nasty bugs in the engine, online play should be easyer again.