Firefighters gained some ground on the wildfire near Yosemite but conditions Wednesday remained dangerous and erratic — keeping stress levels high among evacuees and the area's tourism industry.