A few fixes.

I fixed a few things a memory leak), a crash happening on my machine with µTorrent installed, and a UI threading issue when adding Magnet links, since the alerter was using a different thread than the UI thread to dispatch events.