Rename root => result
Run indent on code
Remove MMDB_strcmp_result, MMDB_pread, and bytesdup functions
Remove some done todo items