Replace childNodes[0] with firstChild
Improve activeWorkspace detection in updateLayout
Independice MessageWindowMenu from LayoutManager