Updating Logging, Fixing Titles

Logging now works on types, means you can add your own types of logging
without having to change the database structure. Fixed the title
overlapping the notifications and dialogues.