Add debug messages.
Enable with env G_MESSAGES_DEBUG=all ./lplog
Improved log.