change the variable event

also, don't spam it when setting _version
fix bug with resetflag, add format to timelength