Revert "Merge branch 'f_minmax'"

This reverts commit 1b56ab57faa5e7d53dc6666a7c40c48bf2f344fd, reversing
changes made to 96efa91d85ce12740bd4667cee997332b25472a6.
Fixing safe pickles list to making remote rendering work.

Backport of issue #608 fix to master.
Also fixes #712.