Made it so term restore vars are associated with quit(), seeing as they are used there only.
Made it so you can't go opposite your current direction and eat yourself. Will improve by making a snake object.
Added a snake object to replace the snake_body list and associated code. This was a large change, so do some more testing.