Fixed an error with 'beautify_buffer' where it would add extra lines.  Fix is a bit hacky, but its functional
Merge pull request #53 from ShriekBob/master

Fixed an error with 'beautify_buffer' where it would add extra lines.