System was written by Kaev originally.

I added permanent data storage and modified the script so that the allocation windows opens next to the character panel.