Same as answered above, I removed a code for a last minute fix and now seems to not freeze, unfortunate I didn't notice it soon in testing