XBMC_CMD added to config and improvment of function telling if XBMC is started