Fixed some bugs, improved performance, improved API

 * changed how random rows were picked
 * fixed bug with seeing multiple versions of same notification
 * Added Snapshot to API for reading data