switcher to color detection, added bounding box
handling app closing from arduino