Cleanup application init.