Use constants for useful job file lines

Fix comments and typos as well.