Add sample page fixes

This fixes the issues with spacing and the ability to log samples without a barcode.