try..except importing cStringIO instead of StringIO
added option to disable colour output

it messes with terminals without full colour support

Signed-off-by: mark hellewell <mark.hellewell@icloud.com>