Minor style fixes.
Fixed Spine not compiling in release builds.
Refactored common Lua calls.