remove configMainPanel in main function, it's not used