For your second issue, my quick guess is that it looks to be some part of the logging system that doesn’t differentiate properly between using the GUI and being run by a python script in the terminal. How critical is the error (i.e. are you able to still run Analyzer)?
Thank you for reporting the bug, I’ll try to get it resolved as soon as possible.
Alex