Fixed bug #77: Sometimes options page MD preview doesn't initially render. Also copied a bit of code from the css-update branch