app: add mark-seen GAction
app: Fix debug output

We're using DEBUG now, not __DEV. Also, initialize the log handler
before creating the windows so we don't miss their output