 Updated the delete statements to delete the frames and call the remove funtions.
 Updated the delete statements to delete the frames and call the remove funtions.

MSU-CS-Software-Engineering/habitgame,MSU-CS-Software-Engineering/habitgame