Fix HTML preview backgroud color
Fix status bar not updating on tab switch
Move MDEdit::updateToolbar in code