fixed toolbar access, destroy toolbar on exit