Part III: Modified halt(), implemented PID, almost done with exit()