use lua_toboolean
better error handling
tweakables for controls
noodles