Move reconfigurable config data into a nested class, and add lock protection.