Replace memcpy with memmove in replace_string().
Fix buffer underun in restore_object()
Replace sort in opc_dump with COMPARE_NUMS routine.
Enable -Wextra in DEBUG build.
Fix typo in access_to_name().
Merge pull request #69 from sunyc/master

Fix problems reported by valgrind, and typos.