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