Some bug fixes having to do with library loading. Added system calls to the instruction trace window in all cases.