show more verbose error message on json parse error
fix failed assert on parsing json result
add fixmes
try to fix detection of wx-config for fedora
part of #243: better error messages on connect