Heavily comment code, small cleanup here and there.

It's open source!
Go format ftw.