Add the stars to the default value.
Merge pull request #2742 from fluffyfreak/apply_stars_default

Add the stars to the default value.
Fix an access to unallocated memory in LuaRef
Merge branch 'fix_luaref'