Add energy check before dopy of delete

Need to add gui stuff for energy levels and make it actually use energy