Fix date picker popover on dark themes
Show query log on errors if debugging level is 3+