Warnings clean-up on the main form and CRunProgramAction.