Fix bug closing console window does not remove instance.
Fix bug closing console window does not remove instance.

This caused old console instances to remain in the consoles list, and a
newly opened instance would not get the first index and not show the
previous command history.

Aerilius/sketchup-console-plus,Aerilius/sketchup-console-plus,Aerilius/sketchup-console-plus