remove progname var (unused)
reorder stuff, rename getargs() to set_arg(), add some comments
further simplification
moved ffi.cdefs of commonly used C types to zzlua.lua
stat and chmod