This fixes issue #487 and #480. It also correctly handles output parameters from the entry point.
The note is not visible to the blocked user.