Fixed slow launch and kill of the app