nsClipboard fixies

added outer-window-destroyed listener
truncate mBuffer after use