fix SQL syntax when adding events

Closes #15.
fix multiselect dropdowns not overlapping

Closes #17.