Switch from regular Lua to LuaJIT
Use spin controls for numeric fields in the style editor

Closes #1741.