Clear available languages when loading settings.

Thanks to Victor Häggqvist for spotting this.
Merge remote-tracking branch 'upstream/master'