Mayor refactoring of the main game simulation and optimizations in visibility.