Consolidate the handling of configure messages into main.c...