Closed looping done

Hell yeah.
Super hacky.
Don't care.
It works.