Change back Duration and Time to being Double, since they get encoded the same way
Remove a few places that were assuming Duration/Time was Float
Add more notes on how to make the database smaller
Short-circuit the applyKeyValue method, if you have an empty need