Carbonite is broken, primarily, because blizz deprecated globals: this, self, arg1 etc. about 4 years ago and finally removed all the old code that still allowed them to work.
After a brief scan through the lua file, (26,000 lines) about every function will need to be tweaked to conform the the (not new) event handling and conversion from globals to locals.