Network & emulation fixes.