Added some more error checking and colors to make them stand out