Allow dragged magnet links to stream.

Simply allowing magnet links to be dragged onto PT and play.
A little refactoring to remove duplicate code, and some null checks to suppress errors.