bugfix handling of service profile loading when a service is incorrect, #198, #199
pep8 and spelling fixes, #200.