Add missing null check in selectLogSource().
Save mod indexes in loadGames().
Implement option loading from unitsync.