I'll try it out as soon as I can (its almost 23:30 around here...) and tell you if I found a way around the crash. (sometimes crossing streams is the only way... )
Thanks for sharing your work - I'll of course give you credits for it - if I use any part of it.
Unfortunately I intended this behaviour for a default secondary weapon for all my space ships... so I'll have to adapt your work anyway. but it's nice to see it works!