Clean up tabbing, bad WriteLines, etc