Make color output optional

Made libraries for color output optional, and added argument to disable color output.

Also fixed the second isatty that was causing issues.