More work on x86_64 port, also cleaned up a little of the API.

UCC git Repository :: git.ucc.asn.au