Added a flash for undefined demos, fix security exploit with deleting