added filters for block classes, message classes, and for adding html to the start and ends of general blocks