Fix some issues in style, error management, variable not used...