Fix messages pane on home page
A bunch of fixes for D7