Fixes and cleanup of the BigTreeSelect class for Firefox (they were supposed to fix the related bug in 29, but didn't, so this should help).