Fixed/Replaced the game's buggy memory management. Hopefully the game will be stable now - and no more client/server game mismatches.
Added workaround for server not having access to re-> functions.
Various other misc fixes.