AnalogGraphThreads and clean_list

program now shuts down correctly !
have to set ods write