new log level
bugfixes
reverted to sane main.rb
typo