XBMC With many improvements backported from XBMC Gotham