Various touchups to repeat

Adds const-correctess, this->, refactors operator!= to one line.