Refactored logging.
Refactored logging.
Refactored options, detect native language.