Fixed messages and added deleting messages.