adding early gui support