Regex frontend, errors, removed depricated, csv fix

Added regex preview to query builder
Removed the old way of accessing a config file
Started looking through the image processing engine
Simplified some of the error handling where common errors occur across
multiple methods