Comment useful code

 - Honestly forgot how some parts worked. I figured it out eventually,
   but I added comments so that won't happen again.