Added some basic error handling, some output, and better data cleaning to the data compiler