fix for loading lua values where an empty stack could be accessed and ca...

...use a seg fault