Added localization files support, added unhandled exception management