filter for thumbnails.  refactor.  fix more bugs caused by changing bucketArray to contain objects.