Ah, I have an idea! Instead of checking the contents of the ini, just use the ini to store whatever config options you have. THen, use the file object to check if the ini exists! If it exists, it doesn't show the config frame. If it doesn't, it shows it. Simple.