improve key handling
remove some logging, display config at startup