spacing issues fixed.

Empty Lines at the end and start are removed. put a space on a line if desired to keep it. one space is removed on such lines so a pure newline can be done though watch out for autoindenting. see testpro