[#136] Refactor Record DB retrieval

* Wrap projection and column indexes
[#138] Avoid failing silently

* Show notification whenever an error occurs.
* Clean up survey download service. Massive cleanup.