Verify refcounts of lm objects. Need a decent test script for that. Some additional lua functions? Do something abouth strcasecmp non-portability. Add versions to dependencies.