Moved SettingsButton()
Cleaned up a bit
Avoiding duplicate in thumbnails creation