Fixed XBMC client and improved logging.