Reformatted indenting, added line-splitting functionality.