Update cslpreview.xul

@dstillman, this pull request replaces #7. The changes work in my setup.

I separated the changes as much as possible for easy review. Let me know if I should squash the commits.