Various library fixes
packets.lua: Internal changes, amended data