implement menu tearoff
prevent recursive style creation by semi-buggy clients