Fix catastrophic bug in proc_switch. Remove unneeded comments.