Got rid of C interface global state
Reduced repetative Lua callbacks
travisplexer: pr-454-osx travis ci test