normalize feature_layer_id on events
clean up data to not contain -1 as an id
switch to postgresql (sqlite was making things hard for me)