Fix casing error in #include
Improved filter validator

- Can no longer do "stringfield = INTEGER" or "intfield = string"
- Print slightly more sane error messages