state config UI cukes, fix up PDF gen to use base-64 file data