Improved loading of data and interaction with various GUI flags.