Update main.pas

Life 9.7
config text variable now local.