Partial fix of flake8 issues
Fix up tests for new thumbnail scenario
Fix the BrowseGraphic connection to layer.thumbnail_set