removing gui main