Refactored classes of SSBN generation algorithms in order to use mediator pattern to open a new window if necessary. Implemented in revision 1891.