[Bug 4178] System crash with Enable/Disable toolbar buttons in a Thread