Revert "[core] Correctly initialize our Xwt toolkit"

This reverts commit 0e10900e9e18f5194e494abe5f49ef28d2285f11.