Made language choice configurable.
Count detected languages.
Added more settings. Restructured them.