touching up lua error handling
c generated errors now have a stacktrace
fix send spawn packet to send rotation and scaling