improved VEPL validation

paramter number check, action/actionHandler checks
trivial fixes

line breaks, legal headers, etc
inferrer fixes for the IQ-related artefacts