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.
Remove unnecessary check.
Increase the log size to accomodate for users with many torrents (>100).
Refactor code for reporting listen failure/success.
Fix encoding and don't let the OS automatically choose a port.