remove most face customizations and apply theme first; fix whitespace detection