add setting to set path for chatlogs
fix possible segfaults
fix segfault on unknown long option
better way to check if files exist
Merge pull request #234 from Ansa89/trivial-fix

Cosmetic fixes
show connection change message in chat windows