Weak Table fix

maybe? At least it isn't crashing every time you boot it.
collectgarbage was fixed since it was making testing scripts hard