Alright , so it didn't CTD , but the message never showed up either .. Gonna check it up again ..
EDIT : Alright , tweaked the whole script a bit , all should work fine now ..
background_script
Spoiler Alert, click show to read:
Added some terminate_monitors were needed , tweaked the counters bit a little .. I assume it should work now
Thx makanyane !