Chris,

Don't you need to destroy the object somewhere in the end before quitting?