If a catalog is not already specified, then the user is asked for a
catalog path to complete a command instead of exiting command and
printing a statement to specify the catalog path. Fixed bug where the
file extension of the content file was also getting capitalized
following the title format along with the content file name. Added
uniform sanitizing functions for user input in console mode.