index: Misc. polish and clean-up
I removed line numbers that were accidentally included in the previous
commit, and I also did some other miscellaneous formatting and syntax
clean-up where I saw a need.
Signed-off-by: Justin W. Flory (he/him) <git@jwf.io>