added Console
fixed french keyboard charCode handling