Lua does all the heavy lifting now, and split stats into its own swf