Sanitize formatter settings.
Fix mousePressed.