1)
Why does it mention a thief here?
1.
Rashi: He is not as bad as an adulterer. (a) Perhaps he stole due to hunger (Malbim - necessity forced him to steal). (b) When he is caught, he can fix matters via paying.
2.
Rashi (35): This refers to one who covertly goes to the Beis Midrash to engage in Torah.