Example not working in nim 1.0.2
```nim
import nimx/window
import nimx/text_field

proc startApp() =
    # First create a window. Window is the root of view hierarchy.
    var wnd = newWindow(newRect(40, 40, 800, 600))

    # Create a static text field and add it to view hierarchy
    let label = newLabel(newRect(20, 20, 150, 20))
    label.text = "Hello, world!"
    wnd.addSubview(label)

# Run the app
runApplication:
    startApp()
```

```
nimble/pkgs/nimx-0.1/nimx/private/worker_queue.nim(13, 18) Error: undeclared identifier: 'Thread'
```
