color and messages

some moderately not working color tests;
send hand xyz data
logging level; socket function
comments