Only open folders in Finder if they exist. Also minor cleanup.
Improved how the 'Open in Finder' buttons are enabled/disabled.