Fixed rifts killing themselves and improved packet code