Minor refactors and moved the country resize calculations to the initialization instead of every frame