removed initGui() from __init__()