Fixed Compiler warnings (unused imports, default locale, etc)