MOD: changed messagebox from textbox to richtextbox