Added splash to objects
Fixed the bug of crash when exiting