Bring Cardio a bit up to date

Latest libraries, better error handling etc.