Fixed error in JSON that resulted in a crash when attempting to open a thread after closing and reopening the program.