added .valid field to struct

added colorhandle to Plot_points
removed 'clear variables globals;' from OT_common_EMT