Changes to arguments : n->no color, d->display
Added support for color/nocolor output, fixed some bugs from reformatting