You can more or less break the whole game with a familiar atm

.
Invisibilty is something that needs to be thought through. either it is OP or useless most of the time. Picking um an item also breaks invisibility atm. Pickpocketing not if you succeed i think.
That alerted state should not even be hard to program since whenever you try to pick a red item up and get seen, the NPC turns with you and keeps you in his sight so you don't do it again.