Get rid of some potential leaks/crashes in error situations.
Make sure timers get released properly before the card window goes away.
Don't leak the XML tree when loading a card.
Make sure we show the toolbar when changing tool on creating new parts.
Use current stack where it makes sense, not frontmost one.
Track ULIMelodyQueue and Stacks HEAD.