Add multithreading support.

Major refactoring.
Add file output.
Add dialog to ask to create output directory if it doesn't exist.
Add 'create output subdirectories' option to settings.
Add Job class to capsule some options for a conversion.
Add threadInfo output (non-functional for now) to UI.
Fix whitespace all over the place.