Removed a lot of calls to evaluate that were made when the time changes, overflowing the event loop. Also added some asserts in the curves deserialization code to make it more robust.