allow nonstandard luashep calls, improve error handling