add ui_exec_buffered_mainthread_calls_wait

dummy objects should be created with 1 as ref counter

fix ui_close could make UiObjects unusable (GTK)

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

mercurial