Corrected bug on preferences dialog : loop index
Need to figure WHY classes are not running under Linux !!