Improved debug library for multilingual use
Fixed missing username in exception message