fix various css issues, closes #25, closes #40