Changed error handling in ObjectUtils + ShellWithTextIsActive. Fixes #644.
Reimplement working with connection profiles (#172)