[backend][frontend] cleaner log script
[frontend] better logging when empty response is received
[background] fixes #42