Setting pooling for sqlite, untested
Adding config for how many ticks between recorder runs, minor debug statement additions
Proper connection failure handling and fixed support for sqlite