Rewrite the app a bit different to avoid the crash of NBody. Still needs investigation