Add -W option to ignore the valsi definition check warnings
Fix missing newlines in the debug output
Define trim() erlier