Log file sending works properly. User input is validated in middleware.
Renamed modules to begin with smf, to distinguish from third-party ones.
First, very crude, implementation of service blacklisting. Code tidying.
Removed redundant functions.