Add db support for settings
Add better Device tab handling
Add Settings UI
Add filtering messages by app/all