@Kevin Stay away from init{} when you're doing UI-related operations. Rather, use onDock(). Then you're guaranteed to have the event thread going. I see you put some defensive runlaters in but they can lead to timing problems because they don't guarantee a sequence. Worse, they can be confusingly deferred.