add warning when ui_init/ui_main are not called from the main thread (Cocoa)

detach documents when destroying an UiContext

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial