Templated support for DOGE
Program doesn't crash on query fail
Merged upstream/develop to raf-dev
Merge pull request #3 from rafkhan/raf-dev

The program won't crash on query fail
Added exception handling in main loop, tested OK
Manually fixing merge issues