some additonal refactoring of BlCommands and bugfixing