Cleanup configuration prior to stable release

Drop abandoned, unused, insecure, and unnecessary configuration settings, and make the max file size selectable from human-readable values.