Minor fixes to style and fix of column addition loop