Added Chared as detection for non-western languages

Code clean-up
Debug log clean-up
Missing support for Turkish, Norwegian_Bokmal and Chinese though