db changes
code fixes and html tweaks