Fixed some CSS conflicts and a potential DB bug.