restyling and minor reformating
restyling sp-preview.