corrected error messages
added truncate-table command
removed duplicate header creation
Exceptions bugfix, write table - partial load added