Clean up various global things, especially commands, when unloading the Canvas. This means reloads of Canvas are clean.