Fixes perror() calls
Includes stdio.h in log.h
Logs PEEKDATA failures
Correctly handles errors in syscall handlers
Fixes dispatch table