Everything works again, cept emergency button creating thread for it right now though