Some more documentation
plugged leak in doClearBlockEffects, some refactoring