Detect and dissuade stealing. Fixes #1896