Proper AES-NI support and send file bug fix