This also moves the display-related code into a new GstWlDisplay class, which takes care of the new thread