Remove debug logging
Treat "absptr" address encoding.
Add unistd where required.

gcc-4.7 with -m32 showed up some missing declarations without this
Remove trailing whitespace and tabs.