Corrected a bunch of hacks

The Tool window no longer depends on static fields.  This was a
temporary hack to let me focus on the solution and introduced a lot of
problems (restart window failed, couldn't reset values, etc ...).  Now
it depends on a proper initialize method that supports restart