Adds async function for ST 3 on_deactivated, fixes #21
Also use st3 async api for argument hints modify hook