Minimal changes.
Added input consistency check for Parameters frame. Trial Events pending.