Use size-limited tmpfs to prevent a DOS attack that could fill up the
memory and crash things.
Use shtuil where we can to be more Pythonic.
General code cleanups (no functional changes).
Supply config defaults and don't error if config file is missing.