Small fixes
Use get_client_ip in getCountryCodeByIP
Send email on fatal error