Bug fixes, Selenium test fixes, added page for message detail