Sets various defaults, and prints warning messages to stdout under
certain conditions.
