improved clowncar output

clowncar_factory() now strips out functionality used by the script for
factory mode and non-factory argument processing.