can now add items to toolbar without crashing (PHEW!)