Add interface to request the pid of the running instance.
Bringing the AddNewTorrentDialog to the front.
Some improvements of requesting pid of running instance code.
Merge pull request #900 from glassez/btf

Bringing the AddNewTorrentDialog to the front.