gui works but refresh lags...