Using native file choosers whenever possible. cleanup.

 - Had to resort to a UX workaround as native looking FileDialogs
   don't allow for folder selection. Whenever files have to be selected
   we use the native dialog which is always much better. When folder
   selection comes we use the JFileChooser.

 - Don't go to Search Tab if you cancel opening a torrent on the library.

 - NPE fix.

 - Cleanup

IntelliJ rocks, makes you a better coder with the built-in analysis tools.