small tweaks - use border-box box model, reverse logs in logDB