Editor brush shapes. Hide some editor commands when they should not be available. Fix some issues with the editor brush visual representation.

bug 34:closed