Thread.new { until fetch_application('Core') do sleep 0.333 puts 'toe tapp.n ...' end puts 'setting up window' window_record = ::GxG::VFS.open('/ROM/windows/Studio') if window_record fetch_application('Core').create_window({:resource => window_record}) end puts 'waiting for window to open' } ::Core::launch