Updates to formatting. Data inserts now use prepared sql statements to handle character escaping.