engine renderloop run at the beginning
move whenSceneisReady functions bodies in trek and dem objects