Changed how message window works, still unfinished