cleaning up code, work on barcode page

Signed-off-by: William Rockwood <wrockwood@tadl.org>