@epdenouden I added the runMain() method that serializes running a callback on the main process (and returns the result, which should be serializable). The callback must be a class static method; any references to objects could be statically saved in the main thread by overriding startRunner(). This can be used to do lazy-loading.