Wow! Awesome!
For the scripts, I would have thought it would have been easier to use WeiDu or even a Python script or something than to regexp. It would be quite tricky to cover all cases either way though, I think.
For the inventory, can't you scroll the portraits section, then drag? Or ideally have a portraits bar which scrolls itself when the cursor is right at the bottom or the top, so you can scroll whilst dragging, but I think the other would be enough.