Wowsa, cleaned up lib and tool massively :)

Added alignment parameter to StringBuffer::set for
left/centre/right and justified varient alignments.