Add ability to remove spaces around the equal sign in settings file lines.
add some minor fixes.