Enhanced logging, log fallbacks and fixed null scopes in logger

closes #30 
closed #31