Minor tidying up

Removed dead comments. Saved a line by moving it above a loop.