Minor refactoring, added TODOs and references to open issues.
Fix Rect2i.encompasses()
Small subset of hopefully uncontroversial changes from PR #1108.
Merge PR #1392 by @emanuele3d - some architectural fine-tuning
Merge PR #1386 by @emanuele3d - todo notes for the future
Fix NetworkOwnershipTest unit tests