Reduce MAXBONE to fit MacOS X implementation limits.
Upgrade to lua 5.2.2.
Tweaks.