open the attachment in new tab
nit fixes
Merge pull request #25 from zombie/preview

open the attachment in new tab