Fixed missing 'const' on MessageWindow constructor.