More code cleanup and style fixes around shoutbox.