added mainframe to AddTabComponent to fix exception

The parent of ISCGITabbedPane is null in its constructor so previous
implementation didn't work. fixes #122