Rewrote get_current_and_next, wrote some comments

Used each_cons to make get_current_and_next more clear, added some
comments for things I'll probably be confused about/don't document
themselves.