added deltetion to powerups and general error checking
fixing conflicts