Refactor PDF handling to support multiple files per artifact and enhance UI menu for PDF selection
