run world viewer in own thread
resize view when resizing window