vtgate: add panic handling for public functions
Merge branch 'suguwork'