improving output formatting
improving failure handling if library package does not contain any text at all (expect >NAME and >VALUE here)