I'm posting this because of the "sidebar gone" bug and also the TODO which hasn't been fixed yet - and I don't know how to fix it either :oops:
Anyway, It seems that we don't have restrain checks for registry-stored variables. For example, the "sidebar gone" screwed up when (accidentally?) the value for a certain config dropped below zero. Shouldn't we do a check for min and max values of certain variables before loading them?
This reminds me of my PHP programming times: *NEVER* trust user input. And well, in this case it should be: "Don't trust the registry, it breaks too often :lol: ".
So, what do you think?