Delay event loop initialization until after system properties are set. Closes #943