doc: Work on structure
Set focus_distance default value to 0 to fix type-checks in interfaces
Fix infinite loop in focus detection in guiconfigure