Include window id in missing callback exception
Fix exec handling of invalid stacks