Simplify ConfigFile

Old version was leaking, and the allegro mode detection didn't seem to
come out with sensible results on my machine, so I wiped that out for
the time being too