copy of github.com/skelterjohn/go.wde/xgb but with my fork of xgb instead