Prepare the spellbook to be able to handle numbers other than 12
Actually Import the grid into BG1, IWD1, and BG2

 -some minor fixes and safety checks added
 -pst and iwd2 can wait