Looks like the addition of @subtitle introduced a new bug?
I'm having trouble with saving & restoring parameters and I think narrowed the issue down to the use of @subtitle. Pasted below are two simple scripts. The first saves & restores parameters correctly and the second does not. The only difference between the two is the addition of @subtitle to the second.
--[[
@title No Subtitle
@chdk_version 1.3
@param a Test Value 1
@default a 2
@param b Test Value 1
@default b 2
--]]
print(a,b)
--[[
@title With Subtitle
@chdk_version 1.3
@param a Test Value 1
@subtitle BLAH
@default a 2
@param b Test Value 1
@default b 2
--]]
print(a,b)
I also tested with the new shorthand notation and saw the same result when @subtitle was present.
Update : it looks like it tries to save the @subtitle line in the script's saved parameter file as #(null)=0. which confuses things when the script tries to restore from that file. The attached patch file fixes that, although it may not be the best way to do so.