Added delay to chat messages, also refactored constants into a better format