edited return values of syscall handlers. implemented sys_shutdown handler