Client logging as a webworker.
Get allowSettingCardCode from server.
Distinguish between cardcode from input and resolved cardcode.