add missing comment blocks

Add phpstorm mass-generated comments, remove a couple of unused variables