cleaned up resources and added loading splash screens