Fixed some broken stuff, removed a syscall.