Small adjustments

Empty density key when it's unknown, warning-free event segmentation parsing
Fixing negative session duration

Just a guess. It might be because time in Android is being adjusted substantially while the app is running.
Build files