Fixed up source comments and loop headers