Add more logging to elf loading, cleanup.
Add a couple more unknown syscalls.
Keep track of imported/exported vars.

Not yet actually linked up, though.
Perform the actual variable relocations, hurray.
Merge pull request #1902 from unknownbrackets/elf-fix

Process variable imports