Changing the preference language to show first

- Code cleanup;
- Better manual search code.
small fix in seach by prefered subtitles
Fix code formatting, changing tabs for space tabs
Merge pull request #4 from gfjardim/pr/3

Pr/3