kill_curthread in trap.c now calls sys__exit(code) instead of panicking kernel.  However, there are still problems (kernel panic-causing ones) in sys__exit() via proc_destroy.
Merge branch 'master' of https://github.com/midend/cs350
merge