fixed bug that didn't gather enough stock photos. added more logging, other bugs fixed