Using now a centralized log system
Recover from panics

Resolves #40