Rough implementation of "joke" mode with related changes.