Reset flags before loading with configFolder. Fixes #95.