added new options to settings, improved settings error handling, updated _main__ test, changed ConfigParser to allow trailing comments