I had lot of questions about how stability works so i decided to add simple stability logger to Stability.py file, which is working great

However some other questions have rise

(btw i'm using rfc for beyond the sword)
Could somebody tell me how exactly "plots abroad" (iNumPlotsAbroad) works? It's fixed limit for owned plots and i'll get negative stability all the time i'll expand over this limit? (no matter if the plots are in stable or unstable areas?) Then additional question: are vassals plots counted in this value (iNumPlotsAbroad)?
Then one simple question about city occupation, as i understand city is under occupation temporary - if it's true how exactly the time is counted? Or it's just permanent?
Btw one more question - shouldn't the plot abroad be different for each civilization? For example Netherlands or Ethiopia (theoretically small empire most of the game) have value on monarch 36, and same value have Russia/China/USA (theoretically big empire most of the game)? I though there will be some differences (as i red it in stability guide somewhere...)
Thanks in advance for answer(s)
Also if somebody is interested in the changed code, i can send you the file (Stability.py), the log is written to log file, you just need to set file name on the file start... The code is kind of rough, but you probably now

Also the log messages some knowledge about python scripts and Stability.py is needed to understand it... And of course the logging could bring some new errors to the stability, but hopefully not (python exceptions enabled are recommended, see CivilizationIV.ini) so the code is without any guarantee.