Draw number data

+ some tuning + now able to open appearance and colour after closing.

There's a table called window.open which store the name of all currently
open windows. A window cannot be opened if it already exiss in the
table, so when a window is closed, it has to be removed from the table.