Fix for a bug triggered by wxPython 2.9 when deleting the last analysis tab.
The self.notebook object is now deleted when the set_init_state() method is called, allowing it to be properly accessed and recreated.
Authored by: bugman 2012-04-16
Parent: [r15740]
Child: [r15742]