xbmc: some corrections
Don't leave the main loop on errors