Added default color detect, libfizmo adaptations.