Cleaning up the functions for history and run
Quick fix for 'history' by itself
Close/dispose connection if it was set
Adding several new features that should work. History management should work entirely and can dump to file. 'run' can be used to run file inputs. Schema, delimiter, and clear are all new as well