Integrated GUI with main