Check if embed is toast before minimize
Merge pull request #323 from scrollback/smallfixes

Check if embed is toast before minimize