Binary file detection fixed. Close #1585
Minor FormTranslate improvements