Fixed a critical bug in the packet handling. Singleplayer seems pretty
stable now.