Remove tool windows from bar, when they are destroyed.
This will be important once we allow loading / unloading kate plugins. With some luck it also fixes current (non-determinate) crash on exit issues.