added currentColor variable to message-boxes