Changed setbg to handle multiple -bgdir's.