Notify the user when mod passing fails
strip trailing spaces from all fields;  based on the idea by sthen