Changed the printout from System.out.println to System.err.println.

Added a static boolean to control whether or not the error will be displayed in the terminal as well as being appended to the appropriate log file. Logging to a file is not altered by this, only terminal output is.