simplify output string in syscall
Handle error return from syscalls correctly.

Successful returns from mmap were being flagged as errors for eg.

Also if successful return > 10000, print it in hex