Added transformation of underscores to blanks in proposed doument name
Fixed bug in listing (only use published documents)