bugfix: loglevel
bugfix: lazy import
fixed indentation in lib-mode